package com.ruoyi.work.domain;

import java.util.List;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 路线对象 map_roadlinks
 * 
 * @author ruoyi
 * @date 2025-09-28
 */
public class MapRoadlinks extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 所属路书 */
    @Excel(name = "所属路书")
    private Long parentId;

    /** 所属路书名称 */
    @Excel(name = "所属路书名称")
    private String parentName;

    /** 名称 */
    @Excel(name = "名称")
    private String name;

    /** 笔记 */
    @Excel(name = "笔记")
    private String note;

    /** 交通方式 */
    @Excel(name = "交通方式")
    private String method;

    /** 道路类型 */
    @Excel(name = "道路类型")
    private String roadtype;

    /** 预计时间 */
    @Excel(name = "预计时间")
    private String predicteTime;

    /** 缩略图 */
    @Excel(name = "缩略图")
    private String thumbnail;

    /** 其他 */
    @Excel(name = "其他")
    private String other;

    /** 节点信息 */
    private List<MapNodes> mapNodesList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setParentId(Long parentId) 
    {
        this.parentId = parentId;
    }

    public Long getParentId() 
    {
        return parentId;
    }

    public void setParentName(String parentName) 
    {
        this.parentName = parentName;
    }

    public String getParentName() 
    {
        return parentName;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setNote(String note) 
    {
        this.note = note;
    }

    public String getNote() 
    {
        return note;
    }

    public void setMethod(String method) 
    {
        this.method = method;
    }

    public String getMethod() 
    {
        return method;
    }

    public void setRoadtype(String roadtype) 
    {
        this.roadtype = roadtype;
    }

    public String getRoadtype() 
    {
        return roadtype;
    }

    public void setPredicteTime(String predicteTime) 
    {
        this.predicteTime = predicteTime;
    }

    public String getPredicteTime() 
    {
        return predicteTime;
    }

    public void setThumbnail(String thumbnail) 
    {
        this.thumbnail = thumbnail;
    }

    public String getThumbnail() 
    {
        return thumbnail;
    }

    public void setOther(String other) 
    {
        this.other = other;
    }

    public String getOther() 
    {
        return other;
    }

    public List<MapNodes> getMapNodesList()
    {
        return mapNodesList;
    }

    public void setMapNodesList(List<MapNodes> mapNodesList)
    {
        this.mapNodesList = mapNodesList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("parentId", getParentId())
            .append("parentName", getParentName())
            .append("name", getName())
            .append("note", getNote())
            .append("method", getMethod())
            .append("roadtype", getRoadtype())
            .append("predicteTime", getPredicteTime())
            .append("thumbnail", getThumbnail())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("other", getOther())
            .append("mapNodesList", getMapNodesList())
            .toString();
    }
}
